package train48days;

import java.util.Scanner;

public class 最难的问题 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()){
            String str = sc.nextLine();
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c ==' '){
                    sb.append(c);
                }else if (c>'E'){
                    sb.append((char)(c-5));
                }else if (c<='E'){
                    sb.append((char)(c+21));
                }
            }
            System.out.println(sb);
        }
    }
}
